<template>
	<view class="content qxlj_back2">
		<mp-html :content="articleMsg.ChineseSubstance" />
	</view>
</template>

<script>
	import { getArticleDetail } from '@/api/homePage.js'
	export default{
		data(){
			return{
				articleMsg:'', //
			}
		},
		onLoad(option) {
			this.getDetail(option.id);
		},
		methods:{
			async getDetail(id){
				try{
					uni.showLoading();
					const {Data} =await getArticleDetail({
						Id:id
					})
					uni.hideLoading();
					this.articleMsg=Data;
				}catch(e){
					//TODO handle the exception
				}
			}
		}
	}
</script>

<style scoped lang="scss">
	.content{
		padding: 20rpx;
	}
</style>